package com.zcb.qingshoudan.activity;

import android.app.Activity;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.zcb.qingshoudan.R;

import java.util.regex.Pattern;

public class ModifyPassWordActivity extends Activity implements View.OnClickListener{
    int b = 120;
    private LinearLayout titleLinearLayout;
    private TextView titleTV;
    private Button h;
    private boolean i = false;
    private Button j;
    private EditText k;
    private EditText l;
    private EditText m;
    private EditText n;
    private boolean o = false;
    private boolean p = false;
    private boolean q = false;
    private boolean r = false;
    private LinearLayout s;
    private RelativeLayout t;
    private View u;
    private View v;
    private String w = "";
    private boolean x = false;
//    private Handler y = new ad(this);

    public ModifyPassWordActivity() {
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_modify_password);
        titleLinearLayout= (LinearLayout) findViewById(R.id.title_lin_back);
        titleTV= (TextView) findViewById(R.id.title_text);
        titleLinearLayout.setVisibility(View.VISIBLE);
        titleLinearLayout.setOnClickListener(this);
        titleTV.setText("修改密码");
    }



    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.title_lin_back:
                finish();
                break;
        }
    }


    @Override
    public void onBackPressed() {
        super.onBackPressed();
        finish();
    }

    private static boolean a(String paramString)
    {
        return Pattern.compile("^(13[0-9]|15[0-9]|153|15[6-9]|180|18[23]|18[5-9])\\d{8}$").matcher(paramString).matches();
    }
}
